package com.wang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.domain.LargeCategory;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WangZai
 * @since 2023-05-06
 */
public interface LargeCategoryService extends IService<LargeCategory> {
    boolean addLargeCategory(LargeCategory category);

    boolean deleteLargeCategory(Integer categoryId);

    LargeCategory getLargeCategoryById(Integer categoryId);

    LargeCategory getLargeCategoryByName(String categoryName);

    List<LargeCategory> getLargeCategories();
}
